/* 版心居中 */
.wrapper {
    width:1200px;
    margin:0 auto;
}

/* 整体页面为灰色 */
body {
    background-color: #f3f5f7;
}

/* 头部区域 */
.header {
    height: 100px;
    background-color: #fff;
    padding-top: 29px;
    padding-bottom: 30px;
}

.header .wrapper {
    display: flex;
}

/* logo */
.header .logo {
    width: 195px;
    height: 41px;
    background-image: url(../images/logo.png);
    font-size: 0;
}

/* 导航栏 */
.header .nav {
    margin-left: 102px;
    margin-top: 6px;
    display: flex   ;
}

.header .nav li a{
    width: 38px;
    height: 27px;
    line-height: 27px;
    font-size: 19px;
    color: #333333;
}
.header .nav li {
    margin-left: 24px;
    padding-bottom: 8px;
    padding-left: 8px;
    padding-right: 8px;
}

/* 下划线 */
.header .nav .active , .header .nav li:hover {
    border-bottom: 2px solid #00a4ff;
}

/* 搜索框 */
.header .search {
    display: flex;
    margin-left: 72px;
    width: 412px;
    height: 40px;
    background-color: #f3f5f7;
    border-radius: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 19px;
    padding-right: 12px;
    justify-content: space-between;
}
.header .search input {
    border: transparent;
    outline: none;
    background-color: #f3f5f7;
    flex: 10;
    margin-right: 20px;
}
.header .search a {
    flex: 1;
    background-image: url(../images/search.png);
    background-repeat: no-repeat;
    background-position: center;
}
.header .search input::placeholder {
    color: #999999;
    font-size: 14px;
}

/* 用户区域 */
.header .user {
    height: 30px;
    margin-left: 32px;
}
.header .user a {
    display: flex;
    justify-content: space-between;
}
.header .user a img {
    width: 30px;
    height: 30px;
    margin-right: 6px;
}
.header .user a span {
    height: 100%;
    line-height: 30px;
    color: #666666;
}

/* banner 区域 */
.banner {
    background-color: #0092cb;
    height: 420px;
}
.banner .wrapper {
    background-image: url(../uploads/banner.png);
    display: flex;
    justify-content: space-between;
}
.banner .wrapper .left {
    height: 420px;
    width: 191px;
}
.banner .wrapper .left .content {
    height: 100%;
    background-color: rgb(0,0,0,0.42);
    padding: 3px 20px;
}
.banner .wrapper .left .content li {
    height: 46px;
    line-height: 46px;
}
.banner .wrapper .left .content li a {
    color: #ffffff;
    display: block;
    background-image: url(../images/right.png);
    background-repeat: no-repeat;
    background-position: right center;
}
.banner .wrapper .left .content li a:hover {
    color: #00a4ff;
    background-image: url(../images/right-hover.png);
}
.banner .wrapper .right {
    width: 218px;
    height: 305px;
    margin-top: 60px;
    margin-bottom: 56px;
    background-color: #209dd5;
    border-radius: 10px;
}
.banner .wrapper .right h3 {
    height: 48px;
    font-size: 15px;
    color: #ffffff;
    padding-top: 18px;
    padding-left: 14px;
    font-weight: normal;
}
.banner .wrapper .right .content {
    border-radius: 10px;
    background-color: #fff;
    height: 257px;
    padding: 14px;
}
.banner .wrapper .right .content dl {
    width: 190px;
    height: 53px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.banner .wrapper .right .content dl dt {
    font-size: 14px;
}
.banner .wrapper .right .content dl dd {
    font-size: 12px;
}
.banner .wrapper .right .content dl dd span:nth-child(1) {
    color: #00a4ff;
}
.banner .wrapper .right .content dl dd span:nth-child(2) {
    color: #7d7d7d;
}
.banner .wrapper .right .content .button{
    width: 190px;
    height: 32px;
    padding: 6px 67px;
    background-color: #00a4ff;
    border-radius: 15px;
    font-size: 14px;
    color: #ffffff;
}
.banner .wrapper .right .content .button:hover {
    cursor:pointer;
}

/* 精品推荐部分 */
.recommend .wrapper {
    display: flex;
    justify-content: space-between;
    height: 60px;
    margin-top: 10px;
    background-color: #ffffff;
    padding: 18px 20px;
    box-shadow: 0px 1px 2px 0px rgba(211, 211, 211, 0.5);
}
.recommend .wrapper h3 {
    font-size: 18px;
    color: #00a4ff;
    font-weight: normal;
    margin-right: 20px;
}
.recommend .wrapper ul {
    display: flex;
    flex: 1;
}
.recommend .wrapper ul li {
    color: #333333;
    font-size: 18px;
    padding: 1px 25px;
    border-right: 2px solid #e0e0e0;
    line-height: 23px;
}
.recommend .wrapper ul li:hover {
    color: #00a4ff;
    cursor: pointer;
}
.recommend .wrapper ul li:first-child {
    padding-left: 0;
}
.recommend .wrapper ul li:last-child {
    border-right: none;
    padding-right: 0;
}
.recommend .wrapper .modify a{
    color: #00a4ff;
}

/* 推荐课程区域 */
.course .wrapper .hd{
    margin-top: 15px;
    line-height: 60px;
    height: 60px;
    display: flex;
    justify-content: space-between;
}
.course .wrapper .hd h3 {
    font-size: 21px;
    color: #333333;
}
.course .wrapper .hd a {
    color: #999999;
    font-size: 14px;
    background-image: url(../images/more.png);
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px;
}
.course .wrapper .bd ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.course .wrapper .bd li{
    width: 228px;
    height: 271px;
    margin-right: 15px;
}
.course .wrapper .bd li:nth-child(5n) {
    margin-right: 0;
}
.course .wrapper .bd li:nth-child(n + 6 ) {
    margin-top: 15px;
}
.course .wrapper .bd li a .img {
    height: 156px;
    width: 228px;
}
.course .wrapper .bd li a .content{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px 20px;
    height: 115px;
}
.course .wrapper .bd li a .content h3 {
    font-size: 14px;
    color: #333333;
}
.course .wrapper .bd li a .content div span:first-child {
    font-size: 14px;
    color: #fa6400;
}
.course .wrapper .bd li a .content div span:last-child {
    font-size: 14px;
    color: #999999;
}

/* 前端开发工程师区域 */
.web .wrapper {
    margin-top: 15px;
}
.web .wrapper .hd {
    height: 60px;
    line-height: 60px;
    display: flex;
    justify-content: space-between;
}
.web .wrapper .hd h3 {
    font-size: 21px;
    color: #333333;
}
.web .wrapper .hd ul {
    flex: 1;
    display: flex;
    margin-left: 299px;
}
.web .wrapper .hd ul li {
    color: #333333;
    margin-right: 60px;
}
.web .wrapper .hd ul li:hover {
    cursor: pointer;
    color:#00a4ff
}
.web .wrapper .hd ul li:last-child {
    margin-right: 0;
}
.web .wrapper .hd a {
    color: #999999;
    font-size: 14px;
    background-image: url(../images/more.png);
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px;
}
.web .wrapper .hd a:hover {
    color: #00a4ff;
    cursor: pointer;
    background-image: url(../images/right-hover.png);
}
.web .wrapper .bd {
    height: 386px;
    display: flex;
    justify-content: space-between;
}
.web .wrapper .bd .left {
    width: 228px;
}
.web .wrapper .bd .right {
    width: 957px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.web .wrapper .bd .right ul {
    display: flex;
}
.web .wrapper .bd .right ul li {
    width: 228px;
    height: 271px;
    margin-right: 15px;
}
.web .wrapper .bd .right ul li:last-child {
    margin-right: 0;
}
.web .wrapper .bd .right ul li img {
    height: 156px;
}
.web .wrapper .bd .right ul li .content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.web .wrapper .bd .right ul li .content h3 {
    font-size: 14px;
    color: #333333;
    font-weight: normal;
}
.web .wrapper .bd .right ul li .content div span:first-child {
    font-size: 14px;
    color: #fa6400;
}
.web .wrapper .bd .right ul li .content div span:last-child {
    font-size: 12px;
    color: #999999;
}
/* 版权区域 */
.footer {
    height: 273px;
    background-color: #ffffff;
}
.footer .wrapper {
    padding-top: 60px;
    padding-bottom: 65px;
    display: flex;
}
.footer .wrapper .left {
    width: 432px;
	height: 148px;
    margin-right: 252px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.footer .wrapper .left .logo a {
    display: block;
    width: 195px;
	height: 41px;
    background-image: url(../images/logo.png);
    font-size: 0
}
.footer .wrapper .left .content {
    font-size: 12px;
    color: #666666;
    line-height: 17px;
}
.footer .wrapper .left .button {
    width: 120px;
	height: 36px;
	background-color: #ffffff;
	border: 1px solid #00a4ff;
    line-height: 36px;
    text-align: center;
}
.footer .wrapper .left .button:hover {
    cursor: pointer;
}
.footer .wrapper .left .button a {
    display: block;
    color: #00a4ff;
}
.footer .wrapper .right {
    width: 516px;
	height: 151px;
}
.footer .wrapper .right {
    display: flex;
    justify-content: space-between;
}
.footer .wrapper .right dt {
    font-size: 16px;
    color: #333333;
}
.footer .wrapper .right dd {
    font-size: 14px;
    color: #666666;
}
.footer .wrapper .right dd:hover {
    color: #00a4ff;
    cursor: pointer;
}